home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Information / THINK C Digest / 1996 / 96-03 < prev    next >
Text File  |  1996-06-24  |  71KB  |  1,540 lines

  1. Archive THINK-C/MESSAGES, file 96-03.
  2. Part 1/1, total size 70919 bytes:
  3.  
  4. ------------------------------ Cut here ------------------------------
  5. >From dnebing@epix.net Fri Mar  1 06:34:08 PST 1996
  6. Received: from lionfish.rdatasys.com (uucp@lionfish.rdatasys.com [198.232.168.1]) by amberjack.rdatasys.com (8.7.3/8.7.3) with SMTP id GAA05880 for <think-c@rdatasys.com>; Fri, 1 Mar 1996 06:34:06 -0800 (PST)
  7. Received: (from uucp@localhost) by lionfish.rdatasys.com (8.6.9/8.6.10) id GAA03425 for <think-c@rdatasys.com>; Fri, 1 Mar 1996 06:34:04 -0800
  8. Received: from grape.epix.net(199.224.64.22) by lionfish.rdatasys.com via smap (V1.3)
  9.         id sma003410; Fri Mar  1 06:33:44 1996
  10. Received: from [199.224.69.173] (lwbyppp173.epix.net [199.224.69.173]) by epix.net (8.7.1/8.7) with SMTP id JAA11700; Fri, 1 Mar 1996 09:31:00 -0500 (EST)
  11. Message-Id: <v02140b00ad5cbbdca17b@[199.224.69.130]>
  12. Mime-Version: 1.0
  13. Content-Type: text/plain; charset="us-ascii"
  14. Date: Fri, 1 Mar 1996 09:38:56 -0500
  15. To: gobbo@udalf1.fisica.uniud.it
  16. From: dnebing@epix.net (Dave Nebinger)
  17. Subject: Re: Patching SysError
  18. Cc: think-c@rdatasys.com
  19.  
  20. >I'm tring to patch the bus error handler directly in the 68k processor
  21. >exception
  22. >handler table. To do so (to be able to access such a range of memory) I
  23. >have to
  24. >change the processor state from user to supervisor. Is there any way to do
  25. >that
  26. >in a C code? ( I'm using Think-C 6.0.1)
  27. >Is there a better way to patch a vector in the Exception handler table?
  28. >Any suggestion or example code would be greatly appreciated!
  29. >Thanks in advance,
  30.  
  31. Check out the alt.sources.mac archive at the URL in my signature.  There is
  32. example code for patching SysError() among tons of other things.
  33.  
  34. Dave
  35.  
  36. ==========================================================
  37. Dave Nebinger                             dnebing@epix.net
  38.              The Alt.Sources.Mac Archivist
  39.      <http://www.AmbrosiaSW.com/alt.sources.mac/>
  40.     <ftp://ftp.AmbrosiaSW.com/pub/alt.sources.mac/>
  41.  
  42.  
  43. >From support@devtools.symantec.com Fri Mar  1 14:31:25 PST 1996
  44. Received: from lionfish.rdatasys.com (uucp@lionfish.rdatasys.com [198.232.168.1]) by amberjack.rdatasys.com (8.7.3/8.7.3) with SMTP id OAA04760 for <think-c@rdatasys.com>; Fri, 1 Mar 1996 14:31:24 -0800 (PST)
  45. From: support@devtools.symantec.com
  46. Received: (from uucp@localhost) by lionfish.rdatasys.com (8.6.9/8.6.10) id OAA22269 for <think-c@rdatasys.com>; Fri, 1 Mar 1996 14:31:22 -0800
  47. Received: from symiserver.symantec.com(155.64.150.25) by lionfish.rdatasys.com via smap (V1.3)
  48.         id sma022259; Fri Mar  1 14:30:52 1996
  49. Received: from devtools.symantec.com (rhartmann.symantec.com) by symiserver.symantec.com (4.1/SMI-4.1)
  50.         id AA11607; Fri, 1 Mar 96 14:35:47 PST
  51. Received: from [155.64.182.76] by rhartmann.symantec.com
  52.  with SMTP (Apple Internet Mail Server 1.0); Fri, 1 Mar 1996 11:10:23 -0700
  53. X-Sender: steve@devtools.symantec.com
  54. Message-Id: <v02130501ad5cf9eb82bf@[155.64.182.76]>
  55. Mime-Version: 1.0
  56. Content-Type: text/plain; charset="us-ascii"
  57. Date: Fri, 1 Mar 1996 11:10:35 -0800
  58. To: think-c@rdatasys.com
  59. Subject: support@devtools.symantec.com
  60.  
  61.  
  62. The Symantec Macintosh Development Tools email server IP address,
  63. devtools.symantec.com, was changed to 155.64.82.19 this morning.  Until
  64. this new address propagates through the DNS, which should happen most
  65. places by Monday, please send email to support@155.64.182.19 or
  66. bugs@155.64.182.19.
  67.  
  68. We make every effort to provide timely responses to all support email.  We
  69. normally guarantee a response (if not always a complete answer) within 24
  70. hours during business days.  We apologize for any inconvenience during this
  71. brief interruption in service and encourage our customers to continue to
  72. use our email support services, post to comp.sys.mac.programmer.*
  73. newsgroups or use phone support; whichever provides the most expedient
  74. solution to their problem.
  75.  
  76. Thanks for using Symantec Macintosh Development Tools products.
  77.  
  78. Steve Howard
  79. Symantec Macintosh DevTools Support       3/1/96
  80. support@devtools.symantec.com
  81. ************************************************
  82.  
  83.  
  84. >From John_E_Edward_Ellis@rl.gov Mon Mar  4 14:41:24 PST 1996
  85. Received: from lionfish.rdatasys.com (uucp@lionfish.rdatasys.com [198.232.168.1]) by amberjack.rdatasys.com (8.7.3/8.7.3) with SMTP id OAA12209 for <think-c@rdatasys.com>; Mon, 4 Mar 1996 14:41:23 -0800 (PST)
  86. From: John_E_Edward_Ellis@rl.gov
  87. Received: (from uucp@localhost) by lionfish.rdatasys.com (8.6.9/8.6.10) id OAA07966 for <think-c@rdatasys.com>; Mon, 4 Mar 1996 14:41:22 -0800
  88. Received: from mailhost.lanl.gov(128.165.3.12) by lionfish.rdatasys.com via smap (V1.3)
  89.         id sma007962; Mon Mar  4 14:41:06 1996
  90. Received: from fep1.rl.gov by mailhost.lanl.gov (8.6.12/1.2)
  91.         id PAA11975; Mon, 4 Mar 1996 15:40:54 -0700
  92. Received: by fep1.rl.gov (5.51/5.17.rl-1)
  93.         id AA19309; Mon, 4 Mar 96 14:46:13 PST
  94. Received: from ccMail by ccmail.rl.gov
  95.   (IMA Internet Exchange 1.04b) id 13b712c0; Mon, 4 Mar 96 14:39:40 -0800
  96. Mime-Version: 1.0
  97. Date: Mon, 4 Mar 1996 14:33:17 -0800
  98. Message-Id: <13b712c0@ccmail.rl.gov>
  99. Subject: C++ objects and routines that move memory
  100. To: think-c@rdatasys.com
  101. Content-Type: text/plain; charset=US-ASCII
  102. Content-Transfer-Encoding: 7bit
  103. Content-Description: cc:Mail note part
  104.  
  105. Below is a short but complete program that I am working on.
  106. It creates an object, initializes the data and prints the data.
  107. In the class method initV, before the call to PBHGetVInfo,
  108. the dubugger shows that all my class members have reasonable
  109. values.  After the call to PBHGetVInfo, the dubugger shows 
  110. all the class members with the value "bus error".  This looks
  111. like the memory for my class was moved by PBHGetVInfo.  The manual
  112. says that to get relocatable objects, you need to specify that 
  113. explicitly, (__machdl).  Can someone point out my error?
  114.  
  115. I am using Symantec C++ 7.0.4.  On a Performa 476 (68K).
  116.  
  117. Thanks in advance,
  118.  
  119. J. Edward Ellis
  120. john_e_edward_ellis@rl.gov
  121. Westinghouse Hanford Co.
  122. Richland, WA
  123.  
  124. ---------------------------------------------------------------
  125. note: My mailer may fold some lines.  The program is correctly
  126. formatted on my machine (ie, it compiles, runs, and hangs as described).
  127. ---------------------------------------------------------------
  128. #include <iostream.h>
  129. #include <string.h>
  130.  
  131. class aVolume {
  132.     Str32   name;
  133.     long    freeBlks;
  134.     long    initDateTime;
  135.     long    rootDir;
  136.     long    numAllocBlock;
  137.     long    sizeAllocBlock;
  138. public:
  139.     void    initV(int i);
  140.     long    freeBytes(void)     { return (freeBlks * sizeAllocBlock); }
  141.     long    sizeVolume(void)    { return (numAllocBlock * sizeAllocBlock); }
  142. //          aVolume()           { initV(1); }
  143. //          aVolume(int i)      { initV(i); }
  144.     void    printName(void)     { cout << name << endl; }
  145.     void    printSize(void)     { cout << sizeVolume() << endl; }
  146.     void    printFree(void)     { cout << freeBytes() << endl; }
  147.     void    printDate(void)     {
  148.         Str255  temp;
  149.         
  150.         IUDateString(initDateTime, shortDate, (unsigned char *)temp);
  151.         cout << (unsigned char *)temp << endl;
  152.     }
  153.     void    printTime(void)     {
  154.         Str255  temp;
  155.         
  156.         IUTimeString(initDateTime, TRUE, (unsigned char *)temp);
  157.         cout << (unsigned char *)temp << endl;
  158.     }
  159.     void    printInit(void)     {
  160.         printDate();
  161.         printTime();
  162.     }
  163.     void    printAll(void)      {
  164.         printName();
  165.         printSize();
  166.         printFree();
  167.         printInit();    
  168.     }
  169.  
  170. };
  171.  
  172. void    aVolume::initV(int i) {
  173.     VolumeParam pb;
  174.  
  175.     pb.ioCompletion = 0L;
  176.     pb.ioNamePtr = name;
  177.     pb.ioVRefNum = 0L;
  178.     pb.ioVolIndex = i;
  179.     PBHGetVInfo((HParmBlkPtr)&pb, FALSE);
  180.  
  181.     freeBlks = pb.ioVFrBlk;
  182.     rootDir = 12*i;
  183.     numAllocBlock = pb.ioVNmAlBlks;
  184.     sizeAllocBlock = pb.ioVAlBlkSiz;
  185.     initDateTime = pb.ioVCrDate;
  186. }
  187.  
  188. void main()
  189. {
  190.     aVolume V;
  191.     V.initV(1);
  192.     V.printAll();
  193. }
  194. >From alspaugh@showme.missouri.edu Tue Mar  5 11:59:06 PST 1996
  195. Received: from lionfish.rdatasys.com (uucp@lionfish.rdatasys.com [198.232.168.1]) by amberjack.rdatasys.com (8.7.3/8.7.3) with SMTP id LAA17551 for <think-c@rdatasys.com>; Tue, 5 Mar 1996 11:58:57 -0800 (PST)
  196. Received: (from uucp@localhost) by lionfish.rdatasys.com (8.6.9/8.6.10) id LAA18926 for <think-c@rdatasys.com>; Tue, 5 Mar 1996 11:58:56 -0800
  197. Received: from mail.missouri.edu(128.206.2.169) by lionfish.rdatasys.com via smap (V1.3)
  198.         id sma018909; Tue Mar  5 11:58:15 1996
  199. Received: from [128.206.206.60] (mizzou-ts7-04.missouri.edu [128.206.206.33]) by mail.missouri.edu (8.7.3/8.7.3) with SMTP id NAA40802; Tue, 5 Mar 1996 13:57:29 -0600
  200. Date: Tue, 5 Mar 1996 13:57:29 -0600
  201. X-Sender: alspaugh@pop.missouri.edu
  202. Message-Id: <v01530501ad61f2b28821@[128.206.206.60]>
  203. Mime-Version: 1.0
  204. Content-Type: text/plain; charset="us-ascii"
  205. To: think-c@rdatasys.com
  206. From: alspaugh@showme.missouri.edu (Bruce Alspaugh)
  207. Subject: Re: C++ objects and routines that move memory
  208. Cc: John_E_Edward_Ellis@rl.gov
  209.  
  210. John,
  211.  
  212.         The first thing I would check is to see if your parameter block to
  213. PBHGetVInfo is set up correctly.  If my reading of Inside Mac: Files is
  214. correct, you should not be using a VolumeParam struct and coercing the
  215. pointer inside your method aVolume::initV.  Instead, I would use an
  216. HParamBlockRec and place the appropriate values in the union using the
  217. appropriate union notation.  The call to PBHGetVolInfo expects that the
  218. structure be laid out in a very particular way, and have enough space to
  219. hold every bit of information that it returns.  From the description of the
  220. problem you give, I suspect the trouble is in setting up the parameter
  221. block.  Setting up the parameter blocks correctly can get rather tedious.
  222.  
  223.         If you want good examples of the correct Apple recommended way to
  224. set up parameter blocks for I/O calls, look at the MoreFiles example source
  225. code included on the Feb 96 Tool Chest Developer CD.  In particular, you
  226. may find the HGetVInfo example routine in MoreFilesExtras.c to be useful.
  227. I also believe the examples are available from Apple's web site.
  228.  
  229. Hope this helps,
  230.  
  231.  
  232. Bruce Alspaugh
  233.  
  234. --------------------------------------------------------------------------
  235. Bruce Alspaugh, Ph.D.                     |
  236.   Software Engineer, SchoolWare           |    "The bug stops here!"
  237.   2809 Skyview Road                       |
  238.   Columbia, MO 65202-2213                 |    With apologies to
  239.   E-mail: alspaugh@showme.missouri.edu    |       Harry S. Truman
  240.   Web Page:                               |
  241.         http://www.missouri.edu/~alspaugh |
  242.   Fax: (573) 445-9981                     |
  243. --------------------------------------------------------------------------
  244.  
  245.  
  246. >From Louis.Brunet@fp.ulaval.ca Thu Mar  7 03:53:18 PST 1996
  247. Received: from lionfish.rdatasys.com (uucp@lionfish.rdatasys.com [198.232.168.1]) by amberjack.rdatasys.com (8.7.3/8.7.3) with SMTP id DAA19310 for <think-c@rdatasys.com>; Thu, 7 Mar 1996 03:53:17 -0800 (PST)
  248. Received: (from uucp@localhost) by lionfish.rdatasys.com (8.6.9/8.6.10) id DAA04786 for <think-c@rdatasys.com>; Thu, 7 Mar 1996 03:53:16 -0800
  249. Received: from hermes.ulaval.ca(132.203.250.27) by lionfish.rdatasys.com via smap (V1.3)
  250.         id sma004776; Thu Mar  7 03:52:46 1996
  251. Received: from [132.203.250.143] (ppp-b13.ulaval.ca) by hermes.ulaval.ca (5.0/SMI-SVR4)
  252.         id AA20675; Thu, 7 Mar 1996 06:55:12 +0500
  253. X-Sender: fplbr@ulaval.ca
  254. Message-Id: <v02120d01ad647dcf3473@[132.203.250.121]>
  255. Mime-Version: 1.0
  256. Content-Type: text/plain; charset="us-ascii"
  257. Date: Thu, 7 Mar 1996 06:52:20 -0500
  258. To: think-c@rdatasys.com
  259. From: Louis.Brunet@fp.ulaval.ca (Charles Brunet)
  260. Subject: How to use acur resources?
  261.  
  262.         I'd like to know or to use animated cursors. I know that they are a
  263. resource caled 'acur' and I know how to make it. How to use this resource
  264. in a C program?
  265.  
  266. Thanks,
  267.  
  268.  
  269.  _____________
  270. |  _________  |                                             ___
  271. | /   \|/   \ |  Charles Brunet                      \|/   |   \
  272. | |  (o o)  | |  Louis.Brunet@fp.ulaval.ca           ( )   |___/
  273. | \___( )___/ |  www.geocities.com/SiliconValley/1029 |-~_ __L__
  274. |             |  Ste-Foy, Quebec, Canada              |_  |_____|
  275. | o     ____  |                                       T \_
  276. |_____________|  Vive le Macintosh!                  _L
  277.   |_________|
  278.  
  279.  
  280. >From Louis.Brunet@fp.ulaval.ca Thu Mar  7 03:56:18 PST 1996
  281. Received: from lionfish.rdatasys.com (uucp@lionfish.rdatasys.com [198.232.168.1]) by amberjack.rdatasys.com (8.7.3/8.7.3) with SMTP id DAA19466 for <think-c@rdatasys.com>; Thu, 7 Mar 1996 03:56:17 -0800 (PST)
  282. Received: (from uucp@localhost) by lionfish.rdatasys.com (8.6.9/8.6.10) id DAA04844 for <think-c@rdatasys.com>; Thu, 7 Mar 1996 03:56:16 -0800
  283. Received: from hermes.ulaval.ca(132.203.250.27) by lionfish.rdatasys.com via smap (V1.3)
  284.         id sma004842; Thu Mar  7 03:56:12 1996
  285. Received: from [132.203.250.143] (ppp-b13.ulaval.ca) by hermes.ulaval.ca (5.0/SMI-SVR4)
  286.         id AA20714; Thu, 7 Mar 1996 06:58:46 +0500
  287. X-Sender: fplbr@ulaval.ca
  288. Message-Id: <v02120d02ad647e805dce@[132.203.250.143]>
  289. Mime-Version: 1.0
  290. Content-Type: text/plain; charset="us-ascii"
  291. Date: Thu, 7 Mar 1996 06:55:49 -0500
  292. To: think-c@rdatasys.com
  293. From: Louis.Brunet@fp.ulaval.ca (Charles Brunet)
  294. Subject: How to get events that are not mine?
  295.  
  296.         I'd like to know if it is possible to make an application who can
  297. intercept all event sent to all applications (without removing them from
  298. the event list).
  299.  
  300. Thanks,
  301.  
  302.  
  303.  _____________
  304. |  _________  |                                             ___
  305. | /   \|/   \ |  Charles Brunet                      \|/   |   \
  306. | |  (o o)  | |  Louis.Brunet@fp.ulaval.ca           ( )   |___/
  307. | \___( )___/ |  www.geocities.com/SiliconValley/1029 |-~_ __L__
  308. |             |  Ste-Foy, Quebec, Canada              |_  |_____|
  309. | o     ____  |                                       T \_
  310. |_____________|  Vive le Macintosh!                  _L
  311.   |_________|
  312.  
  313.  
  314. >From nikhita@interlog.com Fri Mar  8 10:33:36 PST 1996
  315. Received: from lionfish.rdatasys.com (uucp@lionfish.rdatasys.com [198.232.168.1]) by amberjack.rdatasys.com (8.7.3/8.7.3) with SMTP id KAA22480 for <think-c@rdatasys.com>; Fri, 8 Mar 1996 10:33:31 -0800 (PST)
  316. From: nikhita@interlog.com
  317. Received: (from uucp@localhost) by lionfish.rdatasys.com (8.6.9/8.6.10) id KAA02033 for <think-c@rdatasys.com>; Fri, 8 Mar 1996 10:33:30 -0800
  318. Received: from gold.interlog.com(198.53.145.2) by lionfish.rdatasys.com via smap (V1.3)
  319.         id sma002020; Fri Mar  8 10:33:02 1996
  320. Received: from [204.225.242.133] (nikhita.interlog.com [204.225.242.133]) by gold.interlog.com (8.6.10/8.6.10) with SMTP id NAA20213 for <think-c@rdatasys.com>; Fri, 8 Mar 1996 13:31:58 -0500
  321. Message-Id: <v01520d01ad65a14f12c4@[204.225.242.133]>
  322. Mime-Version: 1.0
  323. Content-Type: text/plain; charset="us-ascii"
  324. Date: Fri, 8 Mar 1996 13:34:17 +0500
  325. To: think-c@rdatasys.com
  326. Subject: Books on Programming
  327.  
  328. I have some new programming related books to sell. If anybody interested in
  329. please e mail me at nikhita@interlog.com.
  330.  
  331. Programming the PowerPC by Dan Parks Sydow w/disk       US$39.95 (asking
  332. Price:US$20)
  333. More Mac Programming by Dan Parks Sydow w/disk  US$39.95 (Asking Price:US$20)
  334. Metroworks Codewarrior Programming by Dan Parks Sydow w/CD  US$39.95
  335. (Asking Price:US$20)
  336. Macintosh C programming by example by Kurt W.G.Matthies & Thom Hogan
  337. w/disk  US$34.95 (Asking Price:US$18)
  338. PowerMacintosh Programming Starter Kit by Tom Thompson   w/CD US$39.95
  339. (Asking Price:US$20)
  340. Macintosh Programming Techniques by Dan Parks Sydow w/disk  US$34.95
  341. (Asking Price:US$18)
  342. Symantec c++ for the Macintosh: The Basics by John May & Judy Whittle
  343. US$34.95 (Asking Price:US$18)
  344. The Tao of Applescript w/disks by Derrick Schneider US$29.95 (Asking
  345. Price:US$10)
  346. Macintosh OLE 2 Programmer's refrence by Barry Potter w/CD US$44.95 (Asking
  347. Price:US$25)
  348. Byte Programmers Cookbook by Rob Terrel w/disk US$29.95  (Asking Price:US$15)
  349. Real World Apple Guide Jesse Feiler w/CD US$39.95 (Asking Price:US$20)
  350.  
  351. George Rajendram
  352. nikhita@interlog.com
  353.  
  354.  
  355. >From Louis.Brunet@fp.ulaval.ca Fri Mar  8 14:52:27 PST 1996
  356. Received: from lionfish.rdatasys.com (uucp@lionfish.rdatasys.com [198.232.168.1]) by amberjack.rdatasys.com (8.7.3/8.7.3) with SMTP id OAA07338 for <think-c@rdatasys.com>; Fri, 8 Mar 1996 14:52:24 -0800 (PST)
  357. Received: (from uucp@localhost) by lionfish.rdatasys.com (8.6.9/8.6.10) id OAA09285 for <think-c@rdatasys.com>; Fri, 8 Mar 1996 14:52:22 -0800
  358. Received: from hermes.ulaval.ca(132.203.250.27) by lionfish.rdatasys.com via smap (V1.3)
  359.         id sma009275; Fri Mar  8 14:51:52 1996
  360. Received: from [132.203.250.117] (ppp-a7.ulaval.ca) by hermes.ulaval.ca (5.0/SMI-SVR4)
  361.         id AA15808; Fri, 8 Mar 1996 16:59:36 +0500
  362. X-Sender: fplbr@ulaval.ca
  363. Message-Id: <v02120d00ad665cf263f0@[132.203.250.123]>
  364. Mime-Version: 1.0
  365. Content-Type: text/plain; charset="us-ascii"
  366. Date: Fri, 8 Mar 1996 16:56:38 -0500
  367. To: think-c@rdatasys.com
  368. From: Louis.Brunet@fp.ulaval.ca (Charles Brunet)
  369. Subject: Equivalence of GetIconSuite?
  370.  
  371. Does an equivalent fonction of GetIconSuite existe in Think C 6.0.1? I
  372. don't have Universals Headers. Does GetResource can replace it?
  373.  
  374. Thanks,
  375.  
  376.  
  377.  _____________
  378. |  _________  |                                             ___
  379. | /   \|/   \ |  Charles Brunet                      \|/   |   \
  380. | |  (o o)  | |  Louis.Brunet@fp.ulaval.ca           ( )   |___/
  381. | \___( )___/ |  www.geocities.com/SiliconValley/1029 |-~_ __L__
  382. |             |  Ste-Foy, Quebec, Canada              |_  |_____|
  383. | o     ____  |                                       T \_
  384. |_____________|  Vive le Macintosh!                  _L
  385.   |_________|
  386.  
  387.  
  388. >From Louis.Brunet@fp.ulaval.ca Fri Mar  8 15:06:25 PST 1996
  389. Received: from lionfish.rdatasys.com (uucp@lionfish.rdatasys.com [198.232.168.1]) by amberjack.rdatasys.com (8.7.3/8.7.3) with SMTP id PAA08267 for <think-c@rdatasys.com>; Fri, 8 Mar 1996 15:06:25 -0800 (PST)
  390. Received: (from uucp@localhost) by lionfish.rdatasys.com (8.6.9/8.6.10) id PAA10177 for <think-c@rdatasys.com>; Fri, 8 Mar 1996 15:06:23 -0800
  391. Received: from hermes.ulaval.ca(132.203.250.27) by lionfish.rdatasys.com via smap (V1.3)
  392.         id sma010166; Fri Mar  8 15:06:12 1996
  393. Received: from [132.203.250.117] (ppp-a7.ulaval.ca) by hermes.ulaval.ca (5.0/SMI-SVR4)
  394.         id AA16005; Fri, 8 Mar 1996 17:08:33 +0500
  395. X-Sender: fplbr@ulaval.ca
  396. Message-Id: <v02120d02ad665dbc936a@[132.203.250.117]>
  397. Mime-Version: 1.0
  398. Content-Type: text/plain; charset="us-ascii"
  399. Date: Fri, 8 Mar 1996 17:05:34 -0500
  400. To: think-c@rdatasys.com
  401. From: Louis.Brunet@fp.ulaval.ca (Charles Brunet)
  402. Subject: WindowRecord and WindowPtr
  403.  
  404. I wrote this code to select a window when I chose it title in a menu (All
  405. windows have a diferent name) and I have ome questions:
  406.  
  407. -Why I got a number 1 error when I call SelectWindow?
  408. -Why window and window.port have the same addresse?
  409. -Does window.port is a WindowPtr?
  410. -It it the easiest way to do what I want?
  411.  
  412. void SelectWByText(Str255 wTitle)
  413. {
  414.         WindowRecord    window = *WindowList;
  415.         Str255          title;
  416.         short           i;
  417.  
  418.         for (i = 1; i <= gNumFile; i++)
  419.         {
  420.                 GetWTitle(&window.port, title);
  421.                 if (EqualString(title, wTitle, TRUE, TRUE))
  422.                 {
  423.                         SelectWindow(&window.port);
  424.                         break;
  425.                 }
  426.                 window = *window.nextWindow;
  427.         }
  428. }
  429.  
  430. Thanks,
  431.  
  432.  
  433.  _____________
  434. |  _________  |                                             ___
  435. | /   \|/   \ |  Charles Brunet                      \|/   |   \
  436. | |  (o o)  | |  Louis.Brunet@fp.ulaval.ca           ( )   |___/
  437. | \___( )___/ |  www.geocities.com/SiliconValley/1029 |-~_ __L__
  438. |             |  Ste-Foy, Quebec, Canada              |_  |_____|
  439. | o     ____  |                                       T \_
  440. |_____________|  Vive le Macintosh!                  _L
  441.   |_________|
  442.  
  443.  
  444. >From Chan.s/Apple@eworld.com Tue Mar 12 17:29:27 PST 1996
  445. Received: from lionfish.rdatasys.com (uucp@lionfish.rdatasys.com [198.232.168.1]) by amberjack.rdatasys.com (8.7.3/8.7.3) with SMTP id RAA10001 for <think-c@rdatasys.com>; Tue, 12 Mar 1996 17:29:26 -0800 (PST)
  446. From: Chan.s/Apple@eworld.com
  447. Received: (from uucp@localhost) by lionfish.rdatasys.com (8.6.9/8.6.10) id RAA17839 for <think-c@rdatasys.com>; Tue, 12 Mar 1996 17:29:23 -0800
  448. Received: from hp1.online.apple.com(192.215.65.17) by lionfish.rdatasys.com via smap (V1.3)
  449.         id sma017837; Tue Mar 12 17:29:10 1996
  450. Received: by hp1.online.apple.com (8.6.12/8.6.12) id RAA02774 for think-c@rdatasys.com; Tue, 12 Mar 1996 17:29:03 -0800
  451. Date: Tue, 12 Mar 1996 17:29:03 -0800
  452. Message-ID: <960312172751_27651807@hp1.online.apple.com>
  453. To: think-c@rdatasys.com
  454. Subject: Question on StyleLineBreak
  455.  
  456.  
  457. Hi,
  458.  
  459. I have a problem using the StyledLineBreak on a block of text more than, say,
  460. 60K.  The following segment of code will print a block of text and break them
  461. up nicely in the 400 pixel width boundary.
  462.  
  463. It works fine with a small block of text ( say anything less than 50K ),
  464. however, if the block of text is greater than 50K, the StyledLineBreak will
  465. give me die after processing 5 lines.  And the value returned from the
  466. textOffset field will be negative!  But if I reduce the file to less than
  467. 50K, it works fine!  
  468.  
  469. Am I doing something wrong here? 
  470.  
  471. Thanks for your help in advance.
  472. Sam :-)
  473. chan.s@eworld.com
  474.  
  475.  
  476.  do {
  477.   MoveTo ( 10, i );
  478.   pixelWidth = 400;
  479.   pixelWidth = pixelWidth << 16;
  480.  
  481.   TextFont ( 16896 );
  482.   TextSize ( 12 );
  483.  
  484.   theCode = StyledLineBreak ( thetextPtr, textLen, textStart, textEnd, flag,
  485. &pixelWidth, &textOffset );
  486.   DrawText ( thetextPtr, textStart, textOffset );
  487.  
  488.   thetextOffset = textOffset;
  489.   thetextPtr = thetextPtr + textOffset;
  490.   textLen = textLen - textOffset;
  491.   textStart = 0;
  492.   textEnd = textLen;
  493.   
  494.   if ( theCode == smBreakOverflow )
  495.   {
  496.    textOffset = 0;
  497.   }
  498.   else
  499.   {
  500.    textOffset = 1;
  501.   }
  502.    
  503.   i = i + 10;
  504.  } while (  textLen > textStart );
  505.  
  506. >From wau@satlink.com Wed Mar 13 19:14:07 PST 1996
  507. Received: from lionfish.rdatasys.com (uucp@lionfish.rdatasys.com [198.232.168.1]) by amberjack.rdatasys.com (8.7.3/8.7.3) with SMTP id TAA10255 for <think-c@rdatasys.com>; Wed, 13 Mar 1996 19:14:06 -0800 (PST)
  508. From: wau@satlink.com
  509. Received: (from uucp@localhost) by lionfish.rdatasys.com (8.6.9/8.6.10) id TAA06967 for <think-c@rdatasys.com>; Wed, 13 Mar 1996 19:14:04 -0800
  510. Received: from un1.satlink.com(200.9.212.3) by lionfish.rdatasys.com via smap (V1.3)
  511.         id sma006957; Wed Mar 13 19:13:41 1996
  512. Received: from [200.9.212.71] (ppp-47.satlink.com [200.9.212.71]) by un1.satlink.com (8.7.3/8.7.3) with SMTP id AAA04852 for <think-c@rdatasys.com>; Thu, 14 Mar 1996 00:14:49 -0400
  513. X-Sender: wau@mail.satlink.com
  514. Message-Id: <v01530502ab8bfd7cdc1a@[200.9.212.73]>
  515. Mime-Version: 1.0
  516. Content-Type: text/plain; charset="us-ascii"
  517. Date: Wed, 15 Mar 1995 00:14:46 -0300
  518. To: think-c@rdatasys.com
  519. Subject: copy files.
  520.  
  521. I would apreciate if something can help me.
  522.  
  523. I am working in a program that copies the characters contained in a file,
  524. in another file, with certain changes. A filter.
  525. Now, the program can copy the contents of a file in another using the
  526. instructions FSRead and FSWrite, and a little buffer (20k). The sentences
  527. are something like that:
  528.  
  529.  
  530. ..
  531. long    gAmountInBuffer = 0;
  532. const long      kCopyBufferSize = 10*1024;
  533. ..
  534. gAmountInBuffer=kCopyBufferSize;
  535. ..
  536. do
  537. {
  538. err=FSRead(sourceRefNum, &gAmountInBuffer, gBufferPtr);
  539. ..
  540. err=FSWrite(destinationRefNum, &gAmountInBuffer, gBufferPtr);
  541. }while (err=noErr)
  542. ..
  543.  
  544. The problem is that I cant find the way to catch that buffer in the middle
  545. of the code and change it. For example I have to change de ASCII 22 by 30.
  546. I want to know if I am using the wrong instructions, or if I can examine a
  547. 20k buffer to change something.
  548.  
  549. Thanks.
  550. Fernando.
  551.  
  552. ________________
  553. wau@satlink.com
  554. ________________
  555.  
  556.  
  557. >From BREWSKI@twics.com Thu Mar 14 01:04:14 PST 1996
  558. Received: from lionfish.rdatasys.com (uucp@lionfish.rdatasys.com [198.232.168.1]) by amberjack.rdatasys.com (8.7.3/8.7.3) with SMTP id BAA00487 for <THINK-C@RDATASYS.COM>; Thu, 14 Mar 1996 01:04:13 -0800 (PST)
  559. From: BREWSKI@twics.com
  560. Received: (from uucp@localhost) by lionfish.rdatasys.com (8.6.9/8.6.10) id BAA17498 for <THINK-C@RDATASYS.COM>; Thu, 14 Mar 1996 01:04:07 -0800
  561. Received: from tanuki.twics.com(192.135.222.3) by lionfish.rdatasys.com via smap (V1.3)
  562.         id sma017482; Thu Mar 14 01:04:02 1996
  563. Date: Thu, 14 Mar 1996 18:07:41 +0900 (JST)
  564. To: THINK-C@rdatasys.com
  565. Message-Id: <960314180741.1a85a@twics.com>
  566. Subject: Difference between 68K and Power Mac?
  567.  
  568. Could someone tell me what I should look out for if I am creating
  569. a 68K application to run on a normal Macintosh and a Power PC(emulation
  570. mode)
  571. Using Think C 7.06 I created a Tiff viewer that opens a tiff file and
  572. displays it in a window and it worked with no problems on an MacIIFX,
  573. Quadra's etc.However if I run it on a Power Mac the image does not
  574. relate to the Tiff File ie a Tiff file containing of only a red image
  575. (no drawings,no lines,just red) is shown properly on the 68K machine
  576. but on a Power Mac it comes out as vertical Black and White vertical
  577. lines.
  578. What should I check for in my program to make it 68K and Power Mac
  579. compatible???
  580. >From BREWSKI@twics.com Thu Mar 14 19:04:24 PST 1996
  581. Received: from lionfish.rdatasys.com (uucp@lionfish.rdatasys.com [198.232.168.1]) by amberjack.rdatasys.com (8.7.3/8.7.3) with SMTP id TAA05138 for <THINK-C@RDATASYS.COM>; Thu, 14 Mar 1996 19:04:24 -0800 (PST)
  582. From: BREWSKI@twics.com
  583. Received: (from uucp@localhost) by lionfish.rdatasys.com (8.6.9/8.6.10) id TAA21614 for <THINK-C@RDATASYS.COM>; Thu, 14 Mar 1996 19:04:22 -0800
  584. Received: from tanuki.twics.com(192.135.222.3) by lionfish.rdatasys.com via smap (V1.3)
  585.         id sma021612; Thu Mar 14 19:04:18 1996
  586. Date: Fri, 15 Mar 1996 12:07:58 +0900 (JST)
  587. To: THINK-C@rdatasys.com
  588. Message-Id: <960315120758.1df90@twics.com>
  589. Subject: CopyBits Problem
  590.  
  591. Please Help!! I am on a deadline and I cannot find a solution to this
  592. problem!!!!!
  593.  
  594. I have tracked the problem with the TIFF viewer that works properly on
  595. normal Macs but not PowerMacs to one
  596. line,The CopyBits Function.
  597.  
  598. If I use the below code for Copying a pixmap of
  599. (0x3C,0x3C,0x3C,0x3C,0x3C...) etc from a CGrafPtr to a Gworld
  600. on a Standard Mac the GWorld PixMap is also  (0x3C,0x3C,0x3C,0x3C,0x3C...)
  601. but if I use the same code on a Power Mac the GWorld PixMap is 
  602. (0x00,0x00,[0xFF,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00] <-by ntimes)
  603.  
  604. The Code is
  605. void CopyPix2World ( CGrafPtr pixMap, GWorldPtr world )
  606. {
  607.    CGrafPtr    pOldPort ;
  608.    GDHandle pOldDevice ;
  609.    PixMapHandle   MyPixMapHandle;
  610.       
  611.       GetGWorld(&pOldPort,&pOldDevice);
  612.       SetGWorld(world,0);
  613.       MyPixMapHandle = GetGWorldPixMap(world);
  614.    
  615.       LockPixels(MyPixMapHandle);
  616.        EraseRect(&world->portRect);
  617.       SetGWorld(pOldPort,pOldDevice);
  618.        CopyBits(   &((GrafPtr)pixMap)->portBits,
  619.             &((GrafPtr)world)->portBits,        
  620.             &pixMap->portRect,
  621.             &pixMap->portRect,
  622.             srcCopy,
  623.             0);
  624.    if (QDError()) DoAlert("\p QDError"); <--No error
  625.    SetGWorld ( pOldPort, pOldDevice ) ;
  626.    UnlockPixels(world->portPixMap);
  627. }
  628.  
  629. It has been 3 days now and I am nowhere nearer a solution. )-:
  630. Give a Mac programmer newbie a break!
  631. >From shyamala27.raperjee@netaccess.net1.ub.in Sun Mar 17 20:10:48 PST 1996
  632. Received: from lionfish.rdatasys.com (uucp@lionfish.rdatasys.com [198.232.168.1]) by amberjack.rdatasys.com (8.7.3/8.7.3) with SMTP id UAA25081 for <think-c@rdatasys.com>; Sun, 17 Mar 1996 20:10:41 -0800 (PST)
  633. Received: (from uucp@localhost) by lionfish.rdatasys.com (8.6.9/8.6.10) id UAA06496 for <think-c@rdatasys.com>; Sun, 17 Mar 1996 20:10:40 -0800
  634. Received: from ics.uci.edu(128.195.1.1) by lionfish.rdatasys.com via smap (V1.3)
  635.         id sma006494; Sun Mar 17 20:10:14 1996
  636. Received: from ix.ix.netcom.com by q2.ics.uci.edu id aa27553;
  637.           17 Mar 96 20:09 PST
  638. Received: from [206.163.122.106] by ix.ix.netcom.com (8.6.13/SMI-4.1/Netcom)
  639.         id TAA15855; Sun, 17 Mar 1996 19:46:03 -0800
  640. X-Sender: ginny@pop.dorsai.org
  641. Message-Id: <v01530522ad705c642e47@[206.163.122.106]>
  642. Mime-Version: 1.0
  643. Content-Type: text/plain; charset="us-ascii"
  644. Reply-To: please.reply.via.fax.or.smail@fax.number.or.smail.address.shown.below
  645. Approved: moderator
  646. X-Priority: 2 (High)
  647. Date: Sat, 16 Mar 1996 21:22:41 +0530
  648. To: shyamala27.raperjee@netaccess.net1.ub.in
  649. From: Shyamala Raperjee <shyamala27.raperjee@netaccess.net1.ub.in>
  650. Subject: ===>> *Fantastic* FREE offer I discovered on the 'net
  651.  
  652. -----> NOTE:   Please first read my note which appears below the "Request
  653. for more info Form."  Then, to get more info, just fill out the "Request
  654. for More Info" form completely and *FAX* or *SMAIL* it back to the company.
  655. You will get a quick reply via email within 1 business day of receipt of
  656. the info request form below.
  657.  
  658. IMPORTANT NOTICE FOR THOSE FAXING IN THEIR REPLY:  Please make sure you
  659. return *only* the below form and *no part* of this message other than the
  660. actual form below.  If you do not know how to cut and paste the below form
  661. onto a fresh clean blank page for faxing, then you may re-type the below
  662. form, as long as you copy it line for line *exactly.*  This is necessary in
  663. order for them to be able to process the tremendous number of replies that
  664. they get daily.
  665.  
  666. Your fax goes directly onto their 4.2 gigabyte computer hard drive, not
  667. paper, and all incoming fax calls are set-up to be *auto-terminated* if
  668. your fax:
  669. 1. has a cover page;
  670. 2. is more than one page
  671. 3. does not begin with the "cut here/begin" line from the below form
  672. 4. does not end with the "cut here/end" line from the below form.
  673. 5. has any handwritten info. on it (info must must be filled out *only*
  674.     with your computer keyboard or typewriter keyboard).  This last
  675.     provision re:  no handwriting on the form applies to requests sent in
  676.     via smail also.
  677.  
  678. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  679. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  680. NOTE:  Their fax line is open 24 hrs. per day / 7 days per week.  If you
  681. have trouble getting through to their fax, or do not have a fax machine at
  682. work or at home, just drop the below form to them via smail (airmail or
  683. first class mail).
  684. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  685. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  686.  
  687.  
  688.  
  689. *------------cut here/begin-------------------------------------------*
  690. REQUEST FOR MORE INFO:  please return *only* this section (with no cover
  691. page) via 1-page fax to:
  692.                               718-967-1550 in the USA
  693.  
  694. or via smail (first class mail or airmail) to:
  695.                                          Magazine Club Inquiry Center
  696.                                          Att. FREE Catalogue-by-email Dept.
  697.                                          PO Box 990
  698.                                          Staten Island NY  10312-0990
  699.  
  700. Sorry, but incomplete forms *will not* be acknowledged.  If you do not
  701. have an email address, or access to one, they will not be able to help you
  702. until you do have one.  If you saw this message, then you should have one.  :)
  703.  
  704. ---> SORRY, BUT NO HANDWRITTEN FORMS WILL BE ACKNOWLEDGED.
  705.         MUST BE TYPED-OUT ON YOUR COMPUTER OR TYPEWRITER. <---
  706.  
  707. Name:
  708. Internet email address:
  709. Smail home address:
  710. City-State-Zip:
  711. Country:
  712. Work Tel. #:
  713. Work Fax #:
  714. Home Tel. #:
  715. Home Fax #:
  716.  
  717. How did you hear about us (name of person who referred you or the area of
  718. the internet that you saw us mentioned in):  Referral by:  Shyamala Raperjee.
  719. 031796-l
  720.  
  721. Name of USA mags you currently get on the newsstand or in the store:
  722.  
  723. Name of USA mags you currently get on the newsstand or in the store:
  724.  
  725. Name of USA mags you currently get on a subscription basis, through the mail:
  726.  
  727. Name of USA mags you would like price quotes on when we call you:
  728.  
  729. Catalogue format desired (list "1," "2," "3" or "4"):
  730.  
  731. *------------cut here/end--------------------------------------------*
  732.  
  733.  
  734. Catalogue Format Options:
  735. 1.  19-Part email- can be read by EVERYONE (~525 K Total).
  736. 2.  For more advanced computer users:  attached text file ~525K - you
  737.      must know how to download an attached text file and then be able to
  738.      open it with your word processor.  If in doubt, don't ask for this
  739.      version.  This isn't for internet *newbies.* Better to order option 1
  740.      and spend a few minutes pasting them into one whole text document
  741.      with your word processor, than to waste hours trying to figure how
  742.      to deal with this option.
  743. 3.  For more advanced Macintosh computer users: compressed attached
  744.      text file, created with a Stuffit(tm) self-extracting archive (.sea),
  745.       ~133K.  Can be decompressed by any Macintosh computer user; no
  746.      special expansion software or knowledge of Stuffit (tm) needed.  You
  747.      just double-click on the file icon and it automatically expands
  748.      (unstuffs). This is for more advanced mac computer users only, as
  749.      you still have to know how to deal with an attached file.  It will cut
  750.      your download time by 75%.   Expands out to the same ~525K file in
  751.      option #2.  See option #2 for more info on what you will need to be
  752.      able to do.
  753. 4.  For expert computer users: compressed attached text file, created with
  754.      Stuffit(tm),  ~114K.  Can be decompressed by any computer user who
  755.      has expansion software to decompress (expand) Stuffit(tm) (.sit) files.
  756.      This is for more advanced computer users only and will cut your
  757.      download time by 78%.   Expands out to the same ~525K file in option
  758.      #2.  See option #2 for more info on what you will need to be able to do.
  759.  
  760.  
  761.  
  762. Hi fellow 'netters,
  763.  
  764. My name is Shyamala Raperjee and I recently started using a magazine
  765. subscription club in the USA that has a FREE 1 yr. magazine subscription
  766. deal with your first paid order- and I have been very pleased with them.
  767. They have over 1,500 different USA titles that they can ship to any country
  768. on a subscription basis.   As for computer magazines from the USA, they
  769. more of a selection than I ever knew even existed.  They have magazines for
  770. most every area of interest in their list of 1,500 titles.
  771.  
  772. Within the USA, for their USA members, they are cheaper than all their
  773. competitors and even the publishers themselves.  This is their price
  774. guarantee.
  775.  
  776. Overseas, on the average, they are generally around one-fourth to one-half
  777. of what the newsstands overseas charge locally for USA magazines.  On some
  778. titles they are as little as one-tenth of what the newsstands charge.  They
  779. feel that mgazines should not be a luxury overseas.   In the USA, people
  780. buy magazines and then toss them after reading them for just a few minutes
  781. or hours.  They are so cheap in the USA!   Well, this company would like to
  782. make it the same way for their overseas members.  They are also cheaper
  783. than all their competitors in the USA and overseas, including the
  784. publishers themselves!   This is their price guarantee.  Around one-half
  785. their business comes from overseas, so they are very patient with new
  786. members who only speak limited English as a 2nd language.
  787.  
  788. Their prices are so cheap because they deal direct with each publisher and
  789. cut-out all the middlemen.
  790.  
  791. They will send you their DELUXE EMAIL CATALOGUE (around 525K-big and
  792. juicey) !)...if you completely fill out the form above.  It has lists of
  793. all the freebies, lists of all the titles they sell, titles broken down by
  794. categories and detailed descriptions on nearly 1,200 of the titles that
  795. they sell.
  796.  
  797. Please do not email me as I am just a happy customer and a *busy* student.
  798. I don't have time to even complete my thesis in time, let alone run my
  799. part-time software business!  Please fill out the above form and carefully
  800. follow the intructions above to get it to them via fax or smail.
  801. They guarantee to beat all their competitors' prices. Sometimes they are
  802. less than half of the next best deal I have been able to find and other
  803. times, just a little cheaper - but I have never found a lower rate yet.
  804. They assured me that if I ever do, they will beat it.
  805.  
  806. They have been very helpful and helped me with all my address changes as I
  807. haved moved from one country to another.
  808.  
  809. They have a deal where you can get a free 1 yr. sub to a new magazine from
  810. a special list of over 295 popular titles published in the USA.   They will
  811. give you this free 1 yr. sub when you place your first paid order with them
  812. to a renewal or new subscription to any of the over 1,500 different popular
  813. USA titles they sell.
  814.  
  815. They can arrange delivery to virtually any country and I think they have
  816. clients in around 45 or 46 countries now.  Outside the USA there is a
  817. charge for FPH (foreign postage and handling) (on both paid and freebie
  818. subs) that varies from magazine to magazine.  I have found their staff to
  819. be very friendly and courteous.  They even helped me with an address change
  820. when I moved from one country to another.
  821.  
  822. The owner thinks of his service as a "club" and his clients as "members"
  823. (even though there is no extra fee to become a member - your first purchase
  824. automatically makes you a member) and he is real picky about who he accepts
  825. as a new member.   When he sets you up as a new member, he himself calls
  826. you personally on the phone to explain how he works his deal, or sometimes
  827. he has one of his assistants call.  He is kind of quirky sometimes - he
  828. insists on setting up new members by phone so he can say hi to everyone (I
  829. sure wouldn't want to have his phone bills!),  but you can place future
  830. orders (after your first order) via E-mail.
  831.  
  832. He has some really friendly young ladies working for him, who seem to know
  833. just as much as he does about this magazine stuff.  If you live overseas,
  834. he will even call you there, as long as you are interested, but I think he
  835. still makes all his overseas calls on the weekends, I guess cause the long
  836. distance rates are cheaper then.
  837.  
  838. He only likes to take new members from referrals from satisfied existing
  839. members and he does virtually no advertising.  When I got set-up, they had
  840. a 2-3 week waiting list for new members to be called back so that they
  841. could join up. (Once you are an existing member, they help you immediately
  842. when you call. )  I think they are able to get back to prospective new
  843. members  the same day or within a few days now, as they have increased
  844. their staff.  I am not sure about this.........but if you email the above
  845. form to them, that is the way to get started!
  846.  
  847. They will send you their DELUXE EMAIL CATALOGUE (around 525K-big and
  848. juicey) !)...if you completely fill out the form above.  It has lists of
  849. all the freebies, lists of all the titles they sell, titles broken down by
  850. categories and detailed descriptions on nearly 1,200 of the titles that
  851. they sell.
  852.  
  853. They then send you email  that outlines how his club works and the list of
  854. free choices that you can choose from, as well as the entire list of what
  855. he sells;  and then they will give you a quick (3-5 minute) friendly,
  856. no-pressure no-obligation call to explain everything to you personally and
  857. answer all your questions.
  858.  
  859. Once you get in, you'll love them. I do.
  860.  
  861.  
  862. Sincerely,
  863.  
  864. Shyamala Raperjee
  865.  
  866.  
  867. ps.  please forward a copy of this message to all your friends on the net
  868. who you think might be interested in it!  It is a great deal!  If you join
  869. and then they join after you, you will earn a free 1 yr. subscription for
  870. each new person you get to join after you join!   If you exceed 25
  871. referrals, they let you use them to give away as gifts, for Christmas,
  872. Chanukah or any other occasion.  Please be kind enough to mention my name
  873. when you join.   I will then get a free magazine for a year for referring
  874. you.
  875. Thank you.
  876.  
  877.  
  878.  
  879. >From Jay.Betrug@mail-e2a-service.gnn.com Sun Mar 17 23:38:26 PST 1996
  880. Received: from lionfish.rdatasys.com (uucp@lionfish.rdatasys.com [198.232.168.1]) by amberjack.rdatasys.com (8.7.3/8.7.3) with SMTP id XAA01210 for <think-c@rdatasys.com>; Sun, 17 Mar 1996 23:38:26 -0800 (PST)
  881. Received: (from uucp@localhost) by lionfish.rdatasys.com (8.6.9/8.6.10) id XAA13411 for <think-c@rdatasys.com>; Sun, 17 Mar 1996 23:38:24 -0800
  882. Received: from ics.uci.edu(128.195.1.1) by lionfish.rdatasys.com via smap (V1.3)
  883.         id sma013409; Sun Mar 17 23:38:12 1996
  884. Received: from mail-e2a-service.gnn.com by q2.ics.uci.edu id aa01105;
  885.           17 Mar 96 23:38 PST
  886. Received: from rattehous.com (ix-nbw-nj6-23.ix.netcom.com [205.184.5.215]) by mail-e2a-service.gnn.com (8.7.1/8.6.9) with SMTP id WAA31955; Sun, 17 Mar 1996 22:21:05 -0500 (EST)
  887. Date: Sun, 17 Mar 1996 22:21:05 -0500 (EST)
  888. Message-Id: <199603180321.WAA31955@mail-e2a-service.gnn.com>
  889. From: Jay.Betrug@mail-e2a-service.gnn.com
  890. To: warn-people@fictional.net
  891. Subject: Racist newsgroup proposal alert!
  892.  
  893. There is currently a proposal for the newsgroup rec.music.white-power,
  894. an attempt by neo-nazi racists to legitimize their activities. It is now
  895. in the CFV stage, where anyone with a valid e-mail address may vote.
  896.  
  897. "White power" racist music is not a legitimate form of music deserving of
  898. a separate rec.music newsgroup, but rather a political group masquerading
  899. as a musical one. And, the rec.* hierarchy is inappropriate because rec.*
  900. is for recreational activities, and racism is anything but recreational.
  901.  
  902. But, most importantly, we must show the racists that they will not be
  903. granted a mainstream forum in order to promote hate. If you don't want
  904. a Usenet where minorities feel unwelcome and uncomfortable, vote NO on
  905. rec.music.white-power. Let's make this a crushing defeat for racists.
  906.  
  907. To vote, send e-mail to music-vote@sub-rosa.com and put
  908.  
  909. I vote NO on rec.music.white-power
  910.  
  911. in the body of the message.
  912.  
  913. The actual CFV can be found on news.announce.newsgroups,
  914. or by sending a blank e-mail to music-cfv@sub-rosa.com.
  915.  
  916. Voting ends 23:59:59 UTC, 18 Mar 1996, so act quickly!
  917.  
  918. >From dnebing@epix.net Mon Mar 18 06:46:54 PST 1996
  919. Received: from lionfish.rdatasys.com (uucp@lionfish.rdatasys.com [198.232.168.1]) by amberjack.rdatasys.com (8.7.3/8.7.3) with SMTP id GAA14411 for <think-c@rdatasys.com>; Mon, 18 Mar 1996 06:46:53 -0800 (PST)
  920. Received: (from uucp@localhost) by lionfish.rdatasys.com (8.6.9/8.6.10) id GAA25584 for <think-c@rdatasys.com>; Mon, 18 Mar 1996 06:46:47 -0800
  921. Received: from grape.epix.net(199.224.64.22) by lionfish.rdatasys.com via smap (V1.3)
  922.         id sma025582; Mon Mar 18 06:46:37 1996
  923. Received: from [199.224.69.53] (lwbyppp53.epix.net [199.224.69.53]) by epix.net (8.7.1/8.7) with SMTP id JAA07495 for <think-c@rdatasys.com>; Mon, 18 Mar 1996 09:44:02 -0500 (EST)
  924. Message-Id: <v02140b03ad73281903f0@[199.224.69.53]>
  925. Mime-Version: 1.0
  926. Content-Type: text/plain; charset="us-ascii"
  927. Date: Mon, 18 Mar 1996 09:52:45 -0500
  928. To: think-c@rdatasys.com
  929. From: dnebing@epix.net (Dave Nebinger)
  930. Subject: I'm Pissed!
  931.  
  932.  
  933. If it is one thing that I hate, it is someone that posts an unsolicited
  934. junk email with an invalid return address.
  935.  
  936. I tried emailing both of the jerks who recently posted the messages about
  937. the stupid magazine thing and the one by the guy who just realized that
  938. there is racism on the net.
  939.  
  940. Both emails bounced.
  941.  
  942. Oh well, enough ranting and raving.  This message alone will probably
  943. convince half a dozen people to unsubscribe to the list because of the
  944. added noise.
  945.  
  946. Dave.
  947.  
  948. P.S. my email address is valid, feel free to flame if you wish ;-)
  949.  
  950. ==========================================================
  951. Dave Nebinger                             dnebing@epix.net
  952.              The Alt.Sources.Mac Archivist
  953.      <http://www.AmbrosiaSW.com/alt.sources.mac/>
  954.     <ftp://ftp.AmbrosiaSW.com/pub/alt.sources.mac/>
  955.  
  956.  
  957. >From wau@satlink.com Mon Mar 18 19:10:57 PST 1996
  958. Received: from lionfish.rdatasys.com (uucp@lionfish.rdatasys.com [198.232.168.1]) by amberjack.rdatasys.com (8.7.3/8.7.3) with SMTP id TAA12844 for <think-c@rdatasys.com>; Mon, 18 Mar 1996 19:10:56 -0800 (PST)
  959. From: wau@satlink.com
  960. Received: (from uucp@localhost) by lionfish.rdatasys.com (8.6.9/8.6.10) id TAA20431 for <think-c@rdatasys.com>; Mon, 18 Mar 1996 19:10:54 -0800
  961. Received: from un1.satlink.com(200.9.212.3) by lionfish.rdatasys.com via smap (V1.3)
  962.         id sma020429; Mon Mar 18 19:10:36 1996
  963. Received: from [200.9.212.71] (ppp-47.satlink.com [200.9.212.71]) by un1.satlink.com (8.7.3/8.7.3) with SMTP id AAA10289 for <think-c@rdatasys.com>; Tue, 19 Mar 1996 00:11:55 -0400
  964. X-Sender: wau@mail.satlink.com
  965. Message-Id: <v01530502ab929ff6a785@[200.9.212.65]>
  966. Mime-Version: 1.0
  967. Content-Type: text/plain; charset="us-ascii"
  968. Date: Mon, 20 Mar 1995 00:11:56 -0300
  969. To: think-c@rdatasys.com
  970. Subject: handles and pointers.
  971.  
  972. First of all thanks to every one. Im new in c for mac, and this list is a
  973. bendition to me.
  974.  
  975. Now, one only question.
  976. When you make a source of a program you use handles and pointers. OK. The
  977. question is if I HAVE to "dispose" that handles and pointers, or the
  978. application automatically cleans the memory it used when quit.
  979. Thanks.
  980.  
  981. Fernando.
  982.  
  983. ________________
  984. wau@satlink.com
  985. ________________
  986.  
  987.  
  988. >From MacMedic@aol.com Tue Mar 19 12:55:50 PST 1996
  989. Received: from lionfish.rdatasys.com (uucp@lionfish.rdatasys.com [198.232.168.1]) by amberjack.rdatasys.com (8.7.3/8.7.3) with SMTP id MAA18395 for <think-c@rdatasys.com>; Tue, 19 Mar 1996 12:55:49 -0800 (PST)
  990. From: MacMedic@aol.com
  991. Received: (from uucp@localhost) by lionfish.rdatasys.com (8.6.9/8.6.10) id MAA24032 for <think-c@rdatasys.com>; Tue, 19 Mar 1996 12:55:47 -0800
  992. Received: from emout04.mail.aol.com(198.81.10.12) by lionfish.rdatasys.com via smap (V1.3)
  993.         id sma024028; Tue Mar 19 12:55:22 1996
  994. Received: by emout04.mail.aol.com (8.6.12/8.6.12) id PAA24675 for think-c@rdatasys.com; Tue, 19 Mar 1996 15:55:12 -0500
  995. Date: Tue, 19 Mar 1996 15:55:12 -0500
  996. Message-ID: <960319130503_249970848@emout04.mail.aol.com>
  997. To: think-c@rdatasys.com
  998. Subject: Fwd: handles and pointers.
  999.  
  1000.  
  1001.  
  1002.        It is always ALWAYS good pratice to clean up after yourself.
  1003.  
  1004.        Both in real life and within the Mac O/S.
  1005.  
  1006.        Remember the next version of the MAC O/S may not do the sames
  1007.        things in the same way, save your self a headache.
  1008.  
  1009.         You are responsible for your code, all your code.
  1010.  
  1011. MacMedic
  1012. ---------------------
  1013. Forwarded message:
  1014. From:   wau@satlink.com
  1015. Sender: think-c@rdatasys.com
  1016. Reply-to:       wau@satlink.com
  1017. To:     think-c@rdatasys.com (Multiple recipients of list)
  1018. Date: 96-03-18 22:17:06 EST
  1019.  
  1020. First of all thanks to every one. Im new in c for mac, and this list is a
  1021. bendition to me.
  1022.  
  1023. Now, one only question.
  1024. When you make a source of a program you use handles and pointers. OK. The
  1025. question is if I HAVE to "dispose" that handles and pointers, or the
  1026. application automatically cleans the memory it used when quit.
  1027. Thanks.
  1028.  
  1029. Fernando.
  1030.  
  1031. ________________
  1032. wau@satlink.com
  1033. ________________
  1034.  
  1035.  
  1036.  
  1037. >From lucy27@track.uwra.ac.au Sun Mar 24 04:07:44 PST 1996
  1038. Received: from lionfish.rdatasys.com (uucp@lionfish.rdatasys.com [198.232.168.1]) by amberjack.rdatasys.com (8.7.3/8.7.3) with SMTP id EAA07752 for <think-c@rdatasys.com>; Sun, 24 Mar 1996 04:07:42 -0800 (PST)
  1039. Received: (from uucp@localhost) by lionfish.rdatasys.com (8.6.9/8.6.10) id EAA24019 for <think-c@rdatasys.com>; Sun, 24 Mar 1996 04:07:40 -0800
  1040. Received: from ics.uci.edu(128.195.1.1) by lionfish.rdatasys.com via smap (V1.3)
  1041.         id sma024017; Sun Mar 24 04:07:27 1996
  1042. Received: from ix.ix.netcom.com by q2.ics.uci.edu id aa18251; 24 Mar 96 4:07 PST
  1043. Received: from [206.163.115.179] by ix.ix.netcom.com (8.6.13/SMI-4.1/Netcom)
  1044.         id DAA04841; Sun, 24 Mar 1996 03:30:06 -0800
  1045. X-Sender: astill@aksi.net
  1046. Message-Id: <v01530503ad7872ba6cdf@[206.163.115.179]>
  1047. Mime-Version: 1.0
  1048. Content-Type: text/plain; charset="us-ascii"
  1049. Reply-to: please.respond.via.fax.or.smail@fax.number.shown.or.smail.address.shown.thank.you
  1050. Approved: moderator
  1051. X-Priority: 1 (Highest)
  1052. Date: Sat, 23 Mar 1996 00:35:11 +0800
  1053. To: lucy27@track.uwra.ac.au
  1054. From: Lucy Whitten <lucy27@track.uwra.ac.au>
  1055. Subject: ===>> FREE 1 yr. Magazine Sub sent worldwide- 277+ Popular USA Titles
  1056.  
  1057. -----> NOTE:   Please first read my note which appears below the "Request
  1058. for more info Form."  Then, to get more info, just fill out the "Request
  1059. for More Info" form completely and *FAX* or *SMAIL* it back to the company.
  1060. You will get a quick reply via email within 1 business day of receipt of
  1061. the info request form below.
  1062.  
  1063. IMPORTANT NOTICE FOR THOSE FAXING IN THEIR REPLY:  Please make sure you
  1064. return *only* the below form and *no part* of this message other than the
  1065. actual form below.  If you do not know how to cut and paste the below form
  1066. onto a fresh clean blank page for faxing, then you may re-type the below
  1067. form, as long as you copy it line for line *exactly.*  This is necessary in
  1068. order for them to be able to process the tremendous number of replies that
  1069. they get daily.
  1070.  
  1071. Your fax goes directly onto their 4.2 gigabyte computer hard drive, not
  1072. paper, and all incoming fax calls are set-up to be *auto-terminated* if
  1073. your fax:
  1074. 1. has a cover page;
  1075. 2. is more than one page
  1076. 3. does not begin with the "cut here/begin" line from the below form
  1077. 4. does not end with the "cut here/end" line from the below form.
  1078. 5. has any handwritten info. on it (info must must be filled out *only*
  1079.     with your computer keyboard or typewriter keyboard).  This last
  1080.     provision re:  no handwriting on the form applies to requests sent in
  1081.     via smail also.
  1082.  
  1083. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1084. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1085. NOTE:  Their fax line is open 24 hrs. per day / 7 days per week.  If you
  1086. have trouble getting through to their fax, or do not have a fax machine at
  1087. work or at home, just drop the below form to them via smail (airmail or
  1088. first class mail).
  1089. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1090. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1091.  
  1092.  
  1093.  
  1094. *------------cut here/begin-------------------------------------------*
  1095. REQUEST FOR MORE INFO:  please return *only* this section (with no cover
  1096. page) via 1-page fax to:
  1097.                               718-967-1550 in the USA
  1098.  
  1099. or via smail (first class mail or airmail) to:
  1100.                                          Magazine Club Inquiry Center
  1101.                                          Att. FREE Catalogue-by-email Dept.
  1102.                                          PO Box 990
  1103.                                          Staten Island NY  10312-0990
  1104.  
  1105. Sorry, but incomplete forms *will not* be acknowledged.  If you do not
  1106. have an email address, or access to one, they will not be able to help you
  1107. until you do have one.  If you saw this message, then you should have one.  :)
  1108.  
  1109. ---> SORRY, BUT NO HANDWRITTEN FORMS WILL BE ACKNOWLEDGED.
  1110.         MUST BE TYPED-OUT ON YOUR COMPUTER OR TYPEWRITER. <---
  1111.  
  1112. Name:
  1113. Internet email address:
  1114. Smail home address:
  1115. City-State-Zip:
  1116. Country:
  1117. Work Tel. #:
  1118. Work Fax #:
  1119. Home Tel. #:
  1120. Home Fax #:
  1121.  
  1122. How did you hear about us (name of person who referred you or the area of
  1123. the internet that you saw us mentioned in):  Referral by:  Lucy Whitten.
  1124. 032296-l
  1125.  
  1126. Name of USA mags you currently get on the newsstand or in the store:
  1127.  
  1128. Name of USA mags you currently get on the newsstand or in the store:
  1129.  
  1130. Name of USA mags you currently get on a subscription basis, through the mail:
  1131.  
  1132. Name of USA mags you would like price quotes on when we call you:
  1133.  
  1134. Catalogue format desired (list "1," "2," "3" or "4"):
  1135.  
  1136. *------------cut here/end--------------------------------------------*
  1137.  
  1138.  
  1139. Catalogue Format Options:
  1140. 1.  19-Part email- can be read by EVERYONE (~525 K Total).
  1141. 2.  For more advanced computer users:  attached text file ~525K - you
  1142.      must know how to download an attached text file and then be able to
  1143.      open it with your word processor.  If in doubt, don't ask for this
  1144.      version.  This isn't for internet *newbies.* Better to order option 1
  1145.      and spend a few minutes pasting them into one whole text document
  1146.      with your word processor, than to waste hours trying to figure how
  1147.      to deal with this option.
  1148. 3.  For more advanced Macintosh computer users: compressed attached
  1149.      text file, created with a Stuffit(tm) self-extracting archive (.sea),
  1150.       ~133K.  Can be decompressed by any Macintosh computer user; no
  1151.      special expansion software or knowledge of Stuffit (tm) needed.  You
  1152.      just double-click on the file icon and it automatically expands
  1153.      (unstuffs). This is for more advanced mac computer users only, as
  1154.      you still have to know how to deal with an attached file.  It will cut
  1155.      your download time by 75%.   Expands out to the same ~525K file in
  1156.      option #2.  See option #2 for more info on what you will need to be
  1157.      able to do.
  1158. 4.  For expert computer users: compressed attached text file, created with
  1159.      Stuffit(tm),  ~114K.  Can be decompressed by any computer user who
  1160.      has expansion software to decompress (expand) Stuffit(tm) (.sit) files.
  1161.      This is for more advanced computer users only and will cut your
  1162.      download time by 78%.   Expands out to the same ~525K file in option
  1163.      #2.  See option #2 for more info on what you will need to be able to do.
  1164.  
  1165.  
  1166.  
  1167. Hi fellow 'netters,
  1168.  
  1169. My name is Lucy Whitten and I recently started using a magazine
  1170. subscription club in the USA that has a FREE 1 yr. magazine subscription
  1171. deal with your first paid order- and I have been very pleased with them.
  1172. They have over 1,500 different USA titles that they can ship to any country
  1173. on a subscription basis.   As for computer magazines from the USA, they
  1174. more of a selection than I ever knew even existed.  They have magazines for
  1175. most every area of interest in their list of 1,500 titles.
  1176.  
  1177. Within the USA, for their USA members, they are cheaper than all their
  1178. competitors and even the publishers themselves.  This is their price
  1179. guarantee.
  1180.  
  1181. Overseas, on the average, they are generally around one-fourth to one-half
  1182. of what the newsstands overseas charge locally for USA magazines.  On some
  1183. titles they are as little as one-tenth of what the newsstands charge.  They
  1184. feel that mgazines should not be a luxury overseas.   In the USA, people
  1185. buy magazines and then toss them after reading them for just a few minutes
  1186. or hours.  They are so cheap in the USA!   Well, this company would like to
  1187. make it the same way for their overseas members.  They are also cheaper
  1188. than all their competitors in the USA and overseas, including the
  1189. publishers themselves!   This is their price guarantee.  Around one-half
  1190. their business comes from overseas, so they are very patient with new
  1191. members who only speak limited English as a 2nd language.
  1192.  
  1193. Their prices are so cheap because they deal direct with each publisher and
  1194. cut-out all the middlemen.
  1195.  
  1196. They will send you their DELUXE EMAIL CATALOGUE (around 525K-big and
  1197. juicey) !)...if you completely fill out the form above.  It has lists of
  1198. all the freebies, lists of all the titles they sell, titles broken down by
  1199. categories and detailed descriptions on nearly 1,200 of the titles that
  1200. they sell.
  1201.  
  1202. Please do not email me as I am just a happy customer and a *busy* student.
  1203. I don't have time to even complete my thesis in time, let alone run my
  1204. part-time software business!  Please fill out the above form and carefully
  1205. follow the intructions above to get it to them via fax or smail.
  1206.  
  1207. They guarantee to beat all their competitors' prices. Sometimes they are
  1208. less than half of the next best deal I have been able to find and other
  1209. times, just a little cheaper - but I have never found a lower rate yet.
  1210. They assured me that if I ever do, they will beat it.
  1211.  
  1212. They have been very helpful and helped me with all my address changes as I
  1213. haved moved from one country to another.
  1214.  
  1215. They have a deal where you can get a free 1 yr. sub to a new magazine from
  1216. a special list of over 295 popular titles published in the USA.   They will
  1217. give you this free 1 yr. sub when you place your first paid order with them
  1218. to a renewal or new subscription to any of the over 1,500 different popular
  1219. USA titles they sell.
  1220.  
  1221. They can arrange delivery to virtually any country and I think they have
  1222. clients in around 45 or 46 countries now.  Outside the USA there is a
  1223. charge for FPH (foreign postage and handling) (on both paid and freebie
  1224. subs) that varies from magazine to magazine.  I have found their staff to
  1225. be very friendly and courteous.  They even helped me with an address change
  1226. when I moved from one country to another.
  1227.  
  1228. The owner thinks of his service as a "club" and his clients as "members"
  1229. (even though there is no extra fee to become a member - your first purchase
  1230. automatically makes you a member) and he is real picky about who he accepts
  1231. as a new member.   When he sets you up as a new member, he himself calls
  1232. you personally on the phone to explain how he works his deal, or sometimes
  1233. he has one of his assistants call.  He is kind of quirky sometimes - he
  1234. insists on setting up new members by phone so he can say hi to everyone (I
  1235. sure wouldn't want to have his phone bills!),  but you can place future
  1236. orders (after your first order) via E-mail.
  1237.  
  1238. He has some really friendly young ladies working for him, who seem to know
  1239. just as much as he does about this magazine stuff.  If you live overseas,
  1240. he will even call you there, as long as you are interested, but I think he
  1241. still makes all his overseas calls on the weekends, I guess cause the long
  1242. distance rates are cheaper then.
  1243.  
  1244. He only likes to take new members from referrals from satisfied existing
  1245. members and he does virtually no advertising.  When I got set-up, they had
  1246. a 2-3 week waiting list for new members to be called back so that they
  1247. could join up. (Once you are an existing member, they help you immediately
  1248. when you call. )  I think they are able to get back to prospective new
  1249. members  the same day or within a few days now, as they have increased
  1250. their staff.  I am not sure about this.........but if you email the above
  1251. form to them, that is the way to get started!
  1252.  
  1253. They will send you their DELUXE EMAIL CATALOGUE (around 525K-big and
  1254. juicey) !)...if you completely fill out the form above.  It has lists of
  1255. all the freebies, lists of all the titles they sell, titles broken down by
  1256. categories and detailed descriptions on nearly 1,200 of the titles that
  1257. they sell.
  1258.  
  1259. They then send you email  that outlines how his club works and the list of
  1260. free choices that you can choose from, as well as the entire list of what
  1261. he sells;  and then they will give you a quick (3-5 minute) friendly,
  1262. no-pressure no-obligation call to explain everything to you personally and
  1263. answer all your questions.
  1264.  
  1265. Once you get in, you'll love them. I do.
  1266.  
  1267.  
  1268. Sincerely,
  1269.  
  1270. Lucy Whitten
  1271.  
  1272.  
  1273. ps.  please forward a copy of this message to all your friends on the net
  1274. who you think might be interested in it!  It is a great deal!  If you join
  1275. and then they join after you, you will earn a free 1 yr. subscription for
  1276. each new person you get to join after you join!   If you exceed 25
  1277. referrals, they let you use them to give away as gifts, for Christmas,
  1278. Chanukah or any other occasion.  Please be kind enough to mention my name
  1279. when you join.   I will then get a free magazine for a year for referring
  1280. you.
  1281. Thank you.
  1282.  
  1283.  
  1284.  
  1285. >From malmgren@euronet.nl Sun Mar 24 23:59:48 PST 1996
  1286. Received: from lionfish.rdatasys.com (uucp@lionfish.rdatasys.com [198.232.168.1]) by amberjack.rdatasys.com (8.7.3/8.7.3) with SMTP id XAA15532; Sun, 24 Mar 1996 23:59:47 -0800 (PST)
  1287. Received: (from uucp@localhost) by lionfish.rdatasys.com (8.6.9/8.6.10) id XAA02185; Sun, 24 Mar 1996 23:59:45 -0800
  1288. Received: from mail.euronet.nl(194.134.0.67) by lionfish.rdatasys.com via smap (V1.3)
  1289.         id sma002180; Sun Mar 24 23:59:17 1996
  1290. Received: from [194.134.1.166] (p506.asd.euronet.nl [194.134.1.167]) by mail.euronet.nl (8.7.5/8.7.3) with SMTP id IAA02686; Mon, 25 Mar 1996 08:59:01 +0100 (MET)
  1291. Date: Mon, 25 Mar 1996 08:59:01 +0100 (MET)
  1292. Message-Id: <v01510102ad7c0b7521fa@[194.134.1.166]>
  1293. Mime-Version: 1.0
  1294. Content-Type: text/plain; charset="us-ascii"
  1295. To: nagel@rdatasys.com, think-c@rdatasys.com
  1296. From: malmgren@euronet.nl (Jens Malmgren)
  1297. Subject: Kick it out now!
  1298.  
  1299. Dear listowner, Dear all.
  1300.  
  1301. For some time we get a 13k big automatic emails from someone sending
  1302. chain-emails. It has nothing to do with mac. It has nothing to do with
  1303. programming. It has nothing to do with symantecs products. It has nothing
  1304. to do with think c/c++. Every 14 days or something we get the same email.
  1305. Could you please kick this magazine-auto-posting-thing out from this list?
  1306.  
  1307. The emails comes from Lucy Whitten <lucy27@track.uwra.ac.au> (Fake address
  1308. bouncing everything back. If you exist Lucy: Exit to shell)
  1309.  
  1310. /Jens Malmgren, the Netherlands.
  1311. ------
  1312. PS1: I think most of the programmers here have got enough chances to use
  1313. contact this magazine if they wanted.
  1314. PS2: Did you not want someone else to take over this list? How is that going?
  1315. PS3: I like the rest of the postings to this list. Keep it up folks!
  1316.  
  1317.  
  1318. >From nagel@intelenet.net Mon Mar 25 09:24:37 PST 1996
  1319. Received: from lionfish.rdatasys.com (uucp@lionfish.rdatasys.com [198.232.168.1]) by amberjack.rdatasys.com (8.7.3/8.7.3) with SMTP id JAA03714 for <think-c@rdatasys.com>; Mon, 25 Mar 1996 09:24:36 -0800 (PST)
  1320. Received: (from uucp@localhost) by lionfish.rdatasys.com (8.6.9/8.6.10) id JAA20196 for <think-c@rdatasys.com>; Mon, 25 Mar 1996 09:24:34 -0800
  1321. Received: from nikita.intelenet.com(204.182.160.1) by lionfish.rdatasys.com via smap (V1.3)
  1322.         id sma020174; Mon Mar 25 09:24:20 1996
  1323. Received: from intelenet.net (boris.intelenet.net [206.82.218.11]) by nikita.intelenet.net (8.6.12/InteleNet) with ESMTP id JAA01276 for <think-c@rdatasys.com>; Mon, 25 Mar 1996 09:24:03 -0800
  1324. To: think-c@rdatasys.com
  1325. Subject: Re: Kick it out now! 
  1326. Reply-To: nagel@intelenet.net
  1327. X-Organization: InteleNet Communications
  1328. X-URL: http://www.intelenet.net
  1329. X-Phone: (714) 851-8250
  1330. In-reply-to: Jens Malmgren's message of Mon, 25 Mar 1996 08:59:01 +0100.
  1331.         <v01510102ad7c0b7521fa@[194.134.1.166]> 
  1332. Date: Mon, 25 Mar 1996 09:30:09 PST
  1333. Message-ID: <7837.827775009@intelenet.net>
  1334. From: "Mark D. Nagel" <nagel@intelenet.net>
  1335.  
  1336. On Mon, 25 Mar 1996 08:59:01 +0100 Jens Malmgren wrote:
  1337.  
  1338.     For some time we get a 13k big automatic emails from someone
  1339.     sending chain-emails.  It has nothing to do with mac.  It has
  1340.     nothing to do with programming.  It has nothing to do with
  1341.     symantecs products.  It has nothing to do with think c/c++.  Every
  1342.     14 days or something we get the same email.  Could you please kick
  1343.     this magazine-auto-posting-thing out from this list?
  1344.  
  1345. I had hoped it would just go away, but clearly it has not.  I have
  1346. taken steps to prevent messages from that address from showing up on
  1347. the list.  Note that spammers who forge addresses can defeat these
  1348. measures pretty easily.  Let's just cross our fingers.
  1349.     
  1350. Mark
  1351. >From ken.brockman@aplmail.jhuapl.edu Mon Mar 25 10:08:15 PST 1996
  1352. Received: from lionfish.rdatasys.com (uucp@lionfish.rdatasys.com [198.232.168.1]) by amberjack.rdatasys.com (8.7.3/8.7.3) with SMTP id KAA05641 for <think-c@rdatasys.com>; Mon, 25 Mar 1996 10:08:15 -0800 (PST)
  1353. Received: (from uucp@localhost) by lionfish.rdatasys.com (8.6.9/8.6.10) id KAA21973 for <think-c@rdatasys.com>; Mon, 25 Mar 1996 10:08:14 -0800
  1354. Received: from mailer.jhuapl.edu(128.244.198.31) by lionfish.rdatasys.com via smap (V1.3)
  1355.         id sma021963; Mon Mar 25 10:08:03 1996
  1356. Received: from aplcomm.jhuapl.edu by mailer.jhuapl.edu (5.65/DEC-Ultrix/4.3)
  1357.         id AA06719; Mon, 25 Mar 1996 13:07:59 -0500
  1358. Received: from [128.244.71.183] (brockman-kd.jhuapl.edu) by aplcomm.jhuapl.edu (5.0/SMI-SVR4)
  1359.         id AA10688; Mon, 25 Mar 1996 13:07:57 -0500
  1360. X-Sender: brockman@aplcomm.jhuapl.edu
  1361. Message-Id: <v02130504ad7c9138d441@[128.244.71.183]>
  1362. Mime-Version: 1.0
  1363. Content-Type: text/plain; charset="us-ascii"
  1364. Date: Mon, 25 Mar 1996 13:07:58 -0500
  1365. To: think-c@rdatasys.com
  1366. From: ken.brockman@aplmail.jhuapl.edu (Ken Brockman)
  1367. Subject: Re: Kick it out now!
  1368.  
  1369. >I had hoped it would just go away, but clearly it has not.  I have
  1370. >taken steps to prevent messages from that address from showing up on
  1371. >the list.  Note that spammers who forge addresses can defeat these
  1372. >measures pretty easily.  Let's just cross our fingers.
  1373.  
  1374. Does one of your measures require the poster to be a member of the list?
  1375.  
  1376. It seems to me that that would stop anyone not on the list from spamming us
  1377. and if they first try to subscribe and their subscription reply bounces
  1378. then do not add them to the list.  I don't know how easily such a scheme
  1379. can be automated but maybe the listserver developers would be interested in
  1380. adding such a feature.
  1381.  
  1382.  
  1383.  
  1384. -- Ken Brockman, JHU/APL, 301-953-5505
  1385.  
  1386.  
  1387. >From rtt@synapse.net Fri Mar 29 16:28:39 PST 1996
  1388. Received: from lionfish.rdatasys.com (uucp@lionfish.rdatasys.com [198.232.168.1]) by amberjack.rdatasys.com (8.7.3/8.7.3) with SMTP id QAA09386 for <think-c@rdatasys.com>; Fri, 29 Mar 1996 16:28:38 -0800 (PST)
  1389. Received: (from uucp@localhost) by lionfish.rdatasys.com (8.6.9/8.6.10) id QAA13204 for <think-c@rdatasys.com>; Fri, 29 Mar 1996 16:28:36 -0800
  1390. Received: from conductor.synapse.net(192.197.166.2) by lionfish.rdatasys.com via smap (V1.3)
  1391.         id sma013193; Fri Mar 29 16:28:00 1996
  1392. Received: from [199.84.52.194] (harp-12.synapse.net [199.84.52.194]) by conductor.synapse.net (8.7.5/8.7.3) with SMTP id TAA24147 for <think-c@rdatasys.com>; Fri, 29 Mar 1996 19:27:42 -0500 (EST)
  1393. X-Sender: rtt@pop.synapse.net
  1394. Message-Id: <v01530500ad822f553b28@[199.84.52.157]>
  1395. Mime-Version: 1.0
  1396. Content-Type: text/plain; charset="us-ascii"
  1397. Date: Fri, 29 Mar 1996 19:29:43 -0500
  1398. To: think-c@rdatasys.com
  1399. From: rtt@synapse.net (Richard Tomkins)
  1400. Subject: printf problem
  1401.  
  1402. I am in the process of porting a MS-DOS/UNIX ANSI compliant program to the
  1403. Macintosh using Think C V7.0.3.
  1404. I have encountered an issue which probably has a graceful solution, but I
  1405. have yet to find it.
  1406.  
  1407.         printf("| %-*.*s |\n", sizeof(name), sizeof(name), name);
  1408.  
  1409. The first line is the one that has given me a problem, in that I got
  1410. garbage on the console. I then typecast the sizeof as below and things come
  1411. out the correct way.
  1412.         printf("| %-*.*s |\n", (int)sizeof(name), (int)sizeof(name), name);
  1413.  
  1414. It seems that ANSI expects sizeof to an int, and Think C has it defined as
  1415. unsigned long.
  1416.  
  1417. What is the solution here? More specifically, is there an option or a
  1418. pre-processor flag that I should set to make Think C treat sieof as an int?
  1419. I definately would appreciate some guidance if possible.
  1420.  
  1421. Thankyou, Richard Tomkins
  1422.  
  1423. This MIND left BLANK INTENTIONALLY!
  1424.  
  1425.  
  1426. >From raz@wolfram.com Fri Mar 29 17:36:47 PST 1996
  1427. Received: from lionfish.rdatasys.com (uucp@lionfish.rdatasys.com [198.232.168.1]) by amberjack.rdatasys.com (8.7.3/8.7.3) with SMTP id RAA12059 for <think-c@rdatasys.com>; Fri, 29 Mar 1996 17:36:46 -0800 (PST)
  1428. Received: (from uucp@localhost) by lionfish.rdatasys.com (8.6.9/8.6.10) id RAA15717 for <think-c@rdatasys.com>; Fri, 29 Mar 1996 17:36:43 -0800
  1429. Received: from dragonfly.wolfram.com(140.177.10.12) by lionfish.rdatasys.com via smap (V1.3)
  1430.         id sma015714; Fri Mar 29 17:36:19 1996
  1431. Received: from [140.177.201.153] (razMAC.wolfram.com [140.177.201.153]) by dragonfly.wolfram.com (8.7.5/8.7.3) with SMTP id TAA01739; Fri, 29 Mar 1996 19:36:11 -0600 (CST)
  1432. Message-Id: <v02130503ad8237101870@[140.177.201.153]>
  1433. Mime-Version: 1.0
  1434. Content-Type: text/plain; charset="us-ascii"
  1435. Date: Fri, 29 Mar 1996 19:36:15 -0600
  1436. To: think-c@rdatasys.com
  1437. From: raz@wolfram.com (Mike Rasberry)
  1438. Subject: Re: printf problem
  1439. Cc: rtt@synapse.net
  1440.  
  1441. >I am in the process of porting a MS-DOS/UNIX ANSI compliant program to the
  1442. >Macintosh using Think C V7.0.3.
  1443. >I have encountered an issue which probably has a graceful solution, but I
  1444. >have yet to find it.
  1445. >
  1446. >        printf("| %-*.*s |\n", sizeof(name), sizeof(name), name);
  1447. >
  1448. >The first line is the one that has given me a problem, in that I got
  1449. >garbage on the console. I then typecast the sizeof as below and things come
  1450. >out the correct way.
  1451. >        printf("| %-*.*s |\n", (int)sizeof(name), (int)sizeof(name), name);
  1452. >
  1453. >It seems that ANSI expects sizeof to an int, and Think C has it defined as
  1454. >unsigned long.
  1455. >
  1456. >What is the solution here? More specifically, is there an option or a
  1457. >pre-processor flag that I should set to make Think C treat sieof as an int?
  1458. >I definately would appreciate some guidance if possible.
  1459.  
  1460.  
  1461. Richard,
  1462.  
  1463. A project-wide solution (untested) would be to put this in the necessary
  1464. project headers or sources...
  1465.  
  1466. #if __SC__ == 0x00000703 /* dunno what other versions may have
  1467.                             this bug, so we'll just diddle with
  1468.                             the version that we know does */
  1469. #define sizeof(x) (int)sizeof(x)
  1470. /* or, if you prefer, you can probably just...
  1471.  * #define sizeof (int)sizeof
  1472.  */
  1473. #endif /* __SC__ == 0x00000703 */
  1474.  
  1475. Alternatively, you could just put "#define sizeof(x) (int)sizeof(x)" (or
  1476. "#define sizeof (int)sizeof") in the project prefix.
  1477.  
  1478. Regarding "__SC__"...
  1479.  
  1480. This is defined for v8.0.3 and probably is for v7.0.3 although I think it
  1481. used to be something different like "THINK_C", "__THINK_C__", or some such.
  1482. If "__SC__" doesn't work, try those.  If neither of them work, look in the
  1483. Compiler Guide for "Predefined Macros".
  1484.  
  1485. BTW, you can type macros in the debugger's data window to see whether
  1486. they're defined.  Undefined symbols will have a phrase containing the word
  1487. "undefined".  Symbols defined with no value will probably say "expression
  1488. expected".  Symbols defined as a value will show the value (including
  1489. strings, though the debugger initially displays them as pointers).
  1490.  
  1491. Of course, doing this globally may cause problems elsewhere in the code.
  1492. You can also...
  1493.  
  1494. #if __SC__ == 0x00000703
  1495.     printf("| %-*.*s |\n", (int)sizeof(name), (int)sizeof(name), name);
  1496. #else
  1497.     printf("| %-*.*s |\n", sizeof(name), sizeof(name), name);
  1498. #endif /* __SC__ == 0x00000703 */
  1499.  
  1500. This is the way I prefer.
  1501.  
  1502. -raz
  1503.  
  1504.  
  1505. >From Louis.Brunet@fp.ulaval.ca Sun Mar 31 05:58:42 PST 1996
  1506. Received: from lionfish.rdatasys.com (uucp@lionfish.rdatasys.com [198.232.168.1]) by amberjack.rdatasys.com (8.7.3/8.7.3) with SMTP id FAA02109 for <think-c@rdatasys.com>; Sun, 31 Mar 1996 05:58:40 -0800 (PST)
  1507. Received: (from uucp@localhost) by lionfish.rdatasys.com (8.6.9/8.6.10) id FAA19063 for <think-c@rdatasys.com>; Sun, 31 Mar 1996 05:58:35 -0800
  1508. Received: from hermes.ulaval.ca(132.203.250.27) by lionfish.rdatasys.com via smap (V1.3)
  1509.         id sma019061; Sun Mar 31 05:58:06 1996
  1510. Received: from [132.203.250.120] (ppp-a10.ulaval.ca) by hermes.ulaval.ca (5.0/SMI-SVR4)
  1511.         id AA21791; Sun, 31 Mar 1996 09:00:42 +0500
  1512. X-Sender: fplbr@ulaval.ca (Unverified)
  1513. Message-Id: <v02120d00ad843f43eb4d@[132.203.250.115]>
  1514. Mime-Version: 1.0
  1515. Content-Type: text/plain; charset="us-ascii"
  1516. Date: Sun, 31 Mar 1996 08:57:34 -0500
  1517. To: think-c@rdatasys.com
  1518. From: Louis.Brunet@fp.ulaval.ca (Charles Brunet)
  1519. Subject: Graf 3D
  1520.  
  1521.  I have, with Think C, a lib called Graf3D. I suppose that it's for makink
  1522. 3D Graf, but I don't know how to use it. I'd like to know if it work on
  1523. every machine, and how to use it (source code, if possible).
  1524.  
  1525. Thanks,
  1526.  
  1527.  
  1528.  _____________
  1529. |  _________  |                                             ___
  1530. | /   \|/   \ |  Charles Brunet                      \|/   |   \
  1531. | |  (o o)  | |  Louis.Brunet@fp.ulaval.ca           ( )   |___/
  1532. | \___( )___/ |  www.geocities.com/SiliconValley/1029 |-~_ __L__
  1533. |             |  Ste-Foy, Quebec, Canada              |_  |_____|
  1534. | o     ____  |                                       T \_
  1535. |_____________|  Vive le Macintosh!                  _L
  1536.   |_________|
  1537.  
  1538.  
  1539. ------------------------------ Cut here ------------------------------
  1540.